@charset "utf-8";

/* ================================ */
/* 触屏版商品分类样式类型				*/
/* by www.yunku.live                   */
/* ================================ */
.sctouch-main-layout{position:absolute;top:2rem;bottom:50px;left:0;right:0;margin:0;background: #fff}
/*商品分类*/
.categroy-cnt { width: 3.8rem; height: 100%; display: block; float: left; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; overflow: hidden;border-right: 1px solid #eee;box-sizing: border-box; background-color: #f6f6f6; }

/*分类一级导航*/
.categroy-list {text-align: center; position: absolute;height: 100%;overflow-y: auto  }
.category-item { width: 100%;;padding:0 10px;box-sizing: border-box; }
.category-item.selected{}
.category-item-a {height: 2.25rem;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;}
.ci-fcategory-ico { width: 1rem; height: 1rem; padding: 0.45rem 0 0.25rem 0; margin: 0 auto; }
.ci-fcategory-ico img { display: block; vertical-align: top; width: 100%; filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */ -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter: gray; opacity: 0.5; }
.ci-fcategory-name {font-size: .5rem;color: #3c3c3c;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: relative;
    top: .09rem;}
.category-item.selected .ci-fcategory-ico img { -webkit-filter: grayscale(0); -moz-filter: grayscale(0); -ms-filter: grayscale(0); -o-filter: grayscale(0); filter: grayscale(0); filter: gray; opacity: 1; }
.category-item.selected .ci-fcategory-name { color: #fff; background-color: #ea3123; border-radius: 0.5rem; padding: 0.2rem 0.2rem; }
.categroy-third-list { display: none; color: #666; border-bottom: 1px solid #ccc; box-shadow: 0 -2px 0 #e4e4e4 inset;/*border-top:2px solid #e4e4e4;*/ background: #f5f5f5; }
.categroy-third-list li { border-bottom: 1px solid #dddddd; }
.categroy-third-list a { color: #6d6d6d; display: block; padding: 15px 0px 15px 11px; }

/* 分类子级内容 */
.categroy-rgt { background-color: #fff;  position: absolute; z-index: 1; left: 3.8rem; top: 0; bottom: 0; right: 0; overflow: hidden;overflow-y: auto}
.categroy-rgt .big_pic{width: 100%;padding: 10px;box-sizing: border-box}
/* 品牌推荐 */
.brands-recommend { font-size: 0; }
.brands-recommend dd { background-color: #FFF; vertical-align: top; display: inline-block; width: 3.3rem; height: 3.3rem; padding: 0.2rem; margin: 0.3rem 0 0 0.3rem; }
.brands-recommend dd a { display: block;}
.brands-recommend dd img { width: 100%; margin: 0.5rem 0; }
.brands-recommend dd a { color: #333; }
.brands-recommend dd p { font-size: 0.48rem; line-height: 1rem; white-space: nowrap; text-overflow: ellipsis; text-align: center; overflow: hidden;}
.footer-blank{height: 0}
/* 二三级分类 */
.categroy-child-list { font-size: 0; width: 100%; background-color: #FFF;padding-bottom:50px;}
.categroy-child-list dt { margin: 0.2rem 0 0.2rem 0.5rem; text-align: left}
.categroy-child-list dt a {position: relative; font-size: 0.6rem; line-height: 1.48rem; color: #3c3c3c;text-align: center;}
.categroy-child-list dt a:after, .categroy-child-list dt a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1rem;
    border-top: 1px solid #e0e0e0;
    transform: translate3d(-150%,-50%,0);
    -webkit-transform: translate3d(-150%,-50%,0);
}
.categroy-child-list dt a:after {
    left: auto;
    right: 0;
    transform: translate3d(150%,-50%,0);
    -webkit-transform: translate3d(150%,-50%,0);
}
.categroy-child-list dd { font-size: 0.55rem; line-height: 1.48rem; vertical-align: top; display: inline-block; width: 30%; padding: 0.2rem; margin-left: 0.3rem; border-radius: 0;text-align: center;}
.categroy-child-list dd a { display: block; color: #444; white-space: nowrap;  text-overflow: ellipsis; overflow: hidden;}
.categroy-child-list dd a p {
    overflow: hidden;
    text-overflow: ellipsis;
}
.categroy-child-list dd i{display: block;width: 60px;height: 60px;line-height: 60px;margin: 0 auto;text-align: center}
.categroy-child-list dd i img{width: 60px;height: 60px;}
.categroy-child-list dd i .iconfont{font-size: 30px;display: block;width: 60px;height: 60px;background: #eee;color: #fff;border-radius: 3px;}
/*商品列表头部特征*/
.sctouch-product-header .header-inp {}
.sctouch-product-header .header-inp { margin: 0.275rem 3.8rem 0 2rem;}
.sctouch-product-header .header-inp .search-input { width: 7.5rem; color: #333;}
.sctouch-product-header .header-r a { padding: 0.5rem 0.6rem 0.5rem 0.2rem;}
.sctouch-product-header .header-r a.categroy { width: 0.975rem; height: 1.575rem; padding: 0.2rem 0.5rem 0.2rem 0.3rem;}
.sctouch-product-header .header-r a.categroy i { width: 100%; height: 1rem;}
.sctouch-product-header .header-r a.categroy i:before { content: "\e625"; }
.sctouch-product-header .header-r a.categroy p {display: block; font-size: 0.45rem; line-height: 0.575rem; text-align: center; color: #555; }

